import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)


const routesM = [{
	path: '/',
	redirect: "/tabsview",
	name: 'Index',
	component: () => import("../../views/mobile/index.vue"),
	children: [{
		path: 'tabsview',
		name: 'tabsview',
		component: () => import('../../components/mobile/routerview/tabsview.vue'),
		meta: {
			keepAlive: true // 需要缓存
		}
	}, {
		path: 'hotlist',
		name: 'hotlist',
		component: () => import('../../components/mobile/hotlist.vue'),
		meta: {
			keepAlive: false // bu需要缓存
		}
	}, {
		path: 'artistslist',
		name: 'artistslist',
		component: () => import('../../components/mobile/artistslist.vue'),
		meta: {
			keepAlive: false // bu需要缓存
		}
	}, {
		path: 'sylist',
		name: 'sylist',
		component: () => import('../../components/mobile/sylist.vue'),
		meta: {
			keepAlive: false // bu需要缓存
		}
	}]
}]



var routes = routesM;

const router = new VueRouter({
	routes
})

export default router
